@import '../components/ConnectionPopover';
@import '../components/Tabs';

.revisions-popover {
    width: 35rem;

    &-git-commit-node {
        &__link {
            display: flex;
        }
        &__message {
            flex: 1 1;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            padding: 0 0.5rem;
        }
        &__link:not(:hover) &__message {
            color: $color-text;
        }
        &__oid {
            margin-bottom: -0.125rem;
        }
    }
}

.theme-light {
    .revisions-popover {
        &-git-commit-node {
            &__link:not(:hover) .revisions-popover-git-commit-node__message {
                color: $color-light-text-1;
            }
        }
    }
}
